package com.javacoo.lock.client.exception;

/**
 * 锁异常
 * <li></li>
 *
 * @author: duanyong
 * @since: 2021/4/29 11:20
 */
public class LockException extends RuntimeException{
    /**错误码*/
    protected String code;
    public LockException() {
    }

    public LockException(Throwable ex) {
        super(ex);
    }
    public LockException(String message) {
        super(message);
    }
    public LockException(String code,String message) {
        super(message);
        this.code = code;
    }
    public LockException(String message, Throwable ex) {
        super(message, ex);
    }
}
